package transactionimplementation

import (
	abstracttransaction "salarypayment-case/AbstractTransaction"
	"salarypayment-case/Model"
	"salarypayment-case/modelimplementation"
)

type AddCommissionedEmployee struct {
	itsSalary         float64
	itsCommissionRate float64
	abstracttransaction.AddEmployeeTransaction
}

func (ae *AddCommissionedEmployee) GetClassification() Model.PaymentClassification {
	return modelimplementation.CreateCommissionedClassification(ae.itsSalary, ae.itsCommissionRate)
}

func (ae *AddCommissionedEmployee) GetSchedule() Model.PaymentSchedule {
	return &modelimplementation.BiweeklySchedule{}
}
